package com.info3k.client.domain;

import java.io.Serializable;

import com.info3k.client.enums.PermissionTypes;
import com.info3k.client.enums.TabTypes;
import com.info3k.client.enums.UserTypes;

public class User implements Serializable {

	private static final long serialVersionUID = -1873799364997737422L;

    private Long id;

	private String username;

    private String password;

    private String name;

    private String surname;

    private String email;

    private String phone;
    
    private UserTypes userType;
    
    private Boolean activated;
    
    private TabTypes[] tabs;
    
    private PermissionTypes[] permissions;
    
    public User() {
    	
    }
	
	public String getUsername() {
		return username;
	}
	
	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getSurname() {
		return surname;
	}
	
	public void setSurname(String surname) {
		this.surname = surname;
	}
	
	public String getEmail() {
		return email;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}
	
	public String getPhone() {
		return phone;
	}
	
	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setUserType(UserTypes userType) {
		this.userType = userType;
	}

	public UserTypes getUserType() {
		return userType;
	}

	public void setTabs(TabTypes[] tabs) {
		this.tabs = tabs;
	}

	public TabTypes[] getTabs() {
		return tabs;
	}

	public void setPermissions(PermissionTypes[] permissions) {
		this.permissions = permissions;
	}

	public PermissionTypes[] getPermissions() {
		return permissions;
	}

	public void setActivated(Boolean activated) {
		this.activated = activated;
	}

	public Boolean getActivated() {
		return activated;
	}
}
